
import java.util.Vector;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


class Product {

   private String name = "";
   private int    productid = 0;
   private int quantity=0;
   private String description = "";
   private Vector invenlist=new Vector();

   public Product() {
   }


   public String getName() {
      return name;
   }


   public void setName(String newName) {
      name = newName;
   }


   public int getProductid() {
      return productid;
   }


   public void setProductid(int productid) {
      this.productid = productid;
   }

   public int getQuantity() {
      return quantity;
   }


   public void setQuantity(int quantity) {
      this.quantity = quantity;
   }


    public String getDescription() {
      return description;
   }


   public void setDescription(String description) {
      this.description = description;
   }


   public Vector getInvenlist() {
        return invenlist;
    }


    public void setInvenlist(Vector invenlist) {
        this.invenlist = invenlist;
    }

   public String toString() {
      return getName() + ":" + getProductid()+":"+getQuantity()+":"+getDescription();
   }
}
